package pers.zc.activiti.maindemo;

/**
 * @description
 * @Author Lin FuYuan
 * @date 2020/6/24
 */
public class Parent {
    private static String name  = null;
    public Parent(){
        System.out.println("p");
    }

    public void init(){
        if(name == null){
            name  = "parent";
        }
        System.out.println("parent init"+name);
    }


    public String getName(){
        return name+"str";
    }
}
